package com.numberone.system.domain;


import com.numberone.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 欣亿卡表 xy_card
 * 
 * @author numberone
 * @date 2020-10-10
 */
public class XyCard extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long id;
	/** 卡号 */
	private String cardNum;
	/** 额度 */
	private BigDecimal price;
	/** 类型 */
	private Integer type;
	/** 卡密 */
	private String cardPwd;
	/** 状态：0未激活 1已激活 */
	private Integer status;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setCardNum(String cardNum) 
	{
		this.cardNum = cardNum;
	}

	public String getCardNum() 
	{
		return cardNum;
	}
	public void setPrice(BigDecimal price) 
	{
		this.price = price;
	}

	public BigDecimal getPrice() 
	{
		return price;
	}
	public void setType(Integer type) 
	{
		this.type = type;
	}

	public Integer getType() 
	{
		return type;
	}
	public void setCardPwd(String cardPwd) 
	{
		this.cardPwd = cardPwd;
	}

	public String getCardPwd() 
	{
		return cardPwd;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cardNum", getCardNum())
            .append("price", getPrice())
            .append("type", getType())
            .append("cardPwd", getCardPwd())
            .append("status", getStatus())
            .toString();
    }
}
